Version

Matrix Constructor(IList<Double>,Int32[])

Initializes a Matrix with the specified elements and dimensions.
Syntax
'Declaration
 
Public Function New( _
   ByVal elements As IList(Of Double), _
   ByVal dimensions() As Integer _
)
public Matrix( 
   IList<double> elements,
   int[] dimensions
)

Parameters

elements
The elements of the constructed Matrix.
dimensions
The dimensions of the constructed Matrix.
Exceptions
ExceptionDescription
System.ArgumentException Occurs when the dimensions specify a size that is inconsistent with the length of the elements.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also